/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hhf.worldzones.exceptions;

/**
 *
 * @author HHFrancois
 */
public class EntityUnknownException extends Exception {

    /**
     * Creates a new instance of <code>CityUnknownException</code> without detail message.
     */
    public EntityUnknownException() {
    }


    /**
     * Creates a new instance of <code>CityUnknownException</code> without detail message.
     */
    public EntityUnknownException(Class entityClass, Object id) {
        super(entityClass.getSimpleName()+"["+id+"]");
    }

	 /**
     * Constructs an instance of <code>CityUnknownException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public EntityUnknownException(String msg) {
        super(msg);
    }

    /**
     * Constructs an instance of <code>CityUnknownException</code> with the specified detail message.
     * @param msg the detail message.
     * @param t the cause exception.
     */
    public EntityUnknownException(String msg, Throwable t) {
        super(msg, t);
    }

    /**
     * Constructs an instance of <code>CityUnknownException</code> with the specified detail message.
     * @param t the cause exception.
     */
    public EntityUnknownException(Throwable t) {
        super(t);
    }
}
